package com.bjtu.laorenyouhao.yigong.utils;

import com.bjtu.laorenyouhao.yigong.feign.LaorenFeignService;
import org.springframework.stereotype.Component;

@Component
public class RenyuanUtils {

    public static Integer getLaorenId(String name, LaorenFeignService laorenFeignService) {
        Integer renyuanId = null;

        renyuanId = (Integer) laorenFeignService.getLaorenId(name).get("laorenId");

        return renyuanId;
    }

}
